<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>商品管理系统</title>
		<link rel="stylesheet" type="text/css" href="libs/bootstrap/css/bootstrap.css"/>
		<link rel="stylesheet" type="text/css" href="css/index.css"/>
		
		<script src="libs/jquery-3.5.1.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="libs/bootstrap/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/utils.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<nav class="navbar navbar-inverse">
		  <div class="container">
		    <!-- Brand and toggle get grouped for better mobile display -->
		    <div class="navbar-header">
		      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
		        <span class="sr-only">Toggle navigation</span>
		        <span class="icon-bar"></span>
		        <span class="icon-bar"></span>
		        <span class="icon-bar"></span>
		      </button>
		      <a class="navbar-brand" href="#"><i class="glyphicon glyphicon-magnet"></i>&nbsp;没人性商品管理系统</a>
		    </div>
		
		    <!-- Collect the nav links, forms, and other content for toggling -->
		    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
		      <ul class="nav navbar-nav">
		        <li class="active"><a href="#">Link <span class="sr-only">(current)</span></a></li>
		        <li><a href="#">Link</a></li> 
		      </ul>
		      <form class="navbar-form navbar-left">
		        <div class="form-group">
		          <input type="text" class="form-control" placeholder="请输入搜索内容">
		        </div>
		        <button type="submit" class="btn btn-default">搜索</button>
		      </form>
		      <ul class="nav navbar-nav navbar-right">
		        <li><a href="./html/login.html">登陆</a></li>
				 <li><a href="./html/register.html">注册</a></li>
		      </ul>
		    </div><!-- /.navbar-collapse -->
		  </div><!-- /.container-fluid -->
		</nav>
		
		
		<!-- 表格 -->
		 <div class="container">
			<button type="button" class="btn btn-primary btn-lg btn-list" data-toggle="modal" data-target="#myModal" id="addshop">
			 增加商品
			</button>
			<table class="table table-striped table-bordered table-hover table-condensed table-shop">
				<thead>
					<tr>
						<th>编号</th>
						<th>商品名称</th>
						<th>商品价格</th>
						<th>商品数量</th>
						<th>操作</th>
					</tr>
				</thead>
				<tbody class="tbody-shop">
				<!-- 	<tr class="edit">
						<td>1</td>
						<td><span>韩国炸鸡</span><input type="text" name="" id="" class="input-name"/></td>
						<td><span>20</span><input type="text" name="" id="" class="input-price"/></td>
						<td><span>2</span><input type="text" name="" id="" class="input-number"/></td>
						<td>
							<button type="button" class="btn btn-info  btn-xs btn-edim">编辑</button>
							<button type="button" class="btn btn-danger  btn-xs btn-del">删除</button>
							<button type="button" class="btn btn-success  btn-xs btn-affirm">确认</button>
							<button type="button" class="btn btn-warning  btn-xs btn-cancel">取消</button>	
						</td>
					</tr> -->
					
				</tbody>
			</table>
		</div>
		
		<!-- Modal -->
		<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
		  <div class="modal-dialog" role="document">
		    <div class="modal-content">
		      <div class="modal-header">
		        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
		        <h4 class="modal-title" id="myModalLabel">Modal title</h4>
		      </div>
		     <div class="modal-body">
		     	<form>
		     	  <div class="form-group">
		     	    <label for="exampleInputEmail1">商品名称</label>
		     	    <input type="text" class="form-control" id="addshopname" placeholder="请输入商品名称">
		     	  </div>
		     	 <div class="form-group">
		     	   <label for="exampleInputEmail1">商品价格</label>
		     	   <input type="text" class="form-control" id="addshopprice" placeholder="请输入商品价格">
		     	 </div>
				 <div class="form-group">
				   <label for="exampleInputEmail1">商品数量</label>
				   <input type="text" class="form-control" id="addshopnumber" placeholder="请输入商品数量">
				 </div>
		     	
		     	</form>
				<p id="msgWrap" class="text-center"></p>
		     </div>
		      <div class="modal-footer">
		        <button type="button" class="btn btn-default" data-dismiss="modal" id="addshopcancle">取消</button>
		        <button type="button" class="btn btn-primary" id="addshopok">添加</button>
		      </div>
		    </div>
		  </div>
		</div>
	
		<script src="js/index.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/addshop.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/edit.js" type="text/javascript" charset="utf-8"></script>
	</body>
</html>
